Skip to main content

All Questions

Tagged with
3votes
0answers
658views

Generic object-to-XML mapper

This code is part of a larger mapping library I'm working on to address some business concerns of transforming data. I was inspired by mapstruct in Java, but opted for users to annotate / add ...
Igneous01's user avatar
3votes
1answer
1kviews

Parsing XML file from the REST API

Please suggest how I can improve my code (like memory leakage, which pattern to use etc.). I have to parse a book XML in two ways: first from an FTP file and second from the REST API. I implemented ...
user171148's user avatar
1vote
1answer
2kviews

Generate c# classes through XSD.exe automatically based on embedded resources in assembly

This program is supposed to take every embedded XML Schema file in an assembly and generate classes in the csOutPath. The names of the classes and files should match the stored schema and be put in ...
nelsontruran's user avatar
5votes
3answers
468views

Xml serialize to object

I have to read some data from xml file and then need to store the converted json in the database. The class DtoProcedureXml mapped with xml attributes. ...
rebornx's user avatar
1vote
1answer
73views

XSD Schema for optical media

I recently wrote my first XSD Schema: ...
user avatar
5votes
3answers
425views

Fetching, adding, and viewing games

This is a simple application that will eventually manage certain files for video games. For now, I'm only posting code that handles fetching, adding, and viewing games. I'm trying to keep things ...
Tyler Daniels's user avatar
3votes
3answers
3kviews

XML serialization helper class

Yesterday was JSON serialization, today is XML serialization. I've taken some of the suggestions from there and made modifications, as well as making other modifications that were not suggested but ...
Der Kommissar's user avatar
0votes
1answer
400views

XML document parser with XPath

Here is my simple implementation on XML parser for XML which I received from a server response. Also I've tried to use XmlPathDocument but failed to get child ...
Anton's user avatar
3votes
1answer
244views

Optimisation XML handling within vb.net application

I need to optimize this snippet to be faster: ...
Lamloumi Afif's user avatar
2votes
1answer
2kviews

Loading XML and csv files to datatables at startup

Here is some code that I put together for an app I am working on that loads 2 XML files and a large CVS file to a dataset at startup. It runs fairly fast, but I would like a second opinion on what I ...
Lance Collins's user avatar
2votes
2answers
11kviews

Importing XML to a database using LINQ to Entities

I am importing XML data to a MySql database using LINQ to Entities. The data represents which students are in which classes, and looks like... ...
James's user avatar
5votes
4answers
8kviews

Presenting a boolean as an int for XMLSerialization in C#

I'm working with an XML structure that requires booleans to be represented as 1 or 0. So, suppose the XML output has to look like: <valid>1</valid> ...
MPelletier's user avatar

close